package cn.hd01.service;

import java.math.BigDecimal;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.hd01.repository.entity.WithdrawBook;

public interface WithdrawBookService extends BaseService<WithdrawBook, Integer> {
	Page<WithdrawBook> findAll(WithdrawBook withdrawBook, Pageable pageable);
	
	Page<WithdrawBook> findByRefIdAndType(Integer refId, String type, Pageable pageable);
	
	BigDecimal findWithdrawReabate(String beginDate, String endDate);
}
